﻿
@{
    Layout = null;
}

<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title> 选项卡</title>
</head>
<body style="overflow:hidden">
	<script type="text/javascript">
		function Save() {
			var saveUrl = "/CommentOnly/SaveDoc";
			pageofficectrl.SaveFilePage = saveUrl;
			pageofficectrl.WebSave();
		}

		function newComment() {
			pageofficectrl.word.InsertComment();
		}
		function OnPageOfficeCtrlInit() {
			pageofficectrl.AddCustomToolButton("保存", "Save()", 1);
			pageofficectrl.AddCustomToolButton("插入批注", "newComment()", 0);
		}
	</script>

    <div style="width: auto; height: 900px;">
        @Html.Raw(ViewBag.poCtrl)
    </div>
</body>
</html>
